package com.chaoxing.service.impl;

import com.chaoxing.entity.Teacher;
import com.chaoxing.mapper.TeacherMapper;
import com.chaoxing.service.TeacherService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TeacherServiceImpl implements TeacherService {

    @Resource
    private TeacherMapper teacherMapper;

    @Override
    public List<Teacher> searchTeacher() {
        return teacherMapper.searchTeacher();
    }
}
